{{ $related := .Site.RegularPages.Related . | first 3 }} {{ with $related }}
    
    <div class="col-sm-12">
        <div class="section-title">
                <span>Recent Posts</span>
        </div>
    </div>
    {{ range . }} {{ partial "post/card" . }} {{ end }}
{{ end }}